package com.xiaoyang.forum.domain.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author: XiaoYang
 * @CreateTime: 2025-08-10
 * @Description:
 */
@Data
public class UserDTO {
    /**
     * 用户名
     */
    @NotNull(message = "用户名不能为空")
    private String username;

    /**
     * 密码
     */
    @NotNull(message = "密码不能为空")
    private String password;
}
